import request from '@/utils/request'

// 新增反馈
export const addFeedback = (data) => {
    return request({
        url: '/app/feedback/addFeedback',
        method: 'post',
        data
    })
}

// 删除反馈
export const delFeedback = (data) => {
    return request({
        url: '/app/feedback/deleteFeedbackById',
        method: 'post',
        data
    })
}

// 获取反馈列表
export const getFeedback = (data) => {
    return request({
        url: '/app/feedback/listSelfFeedback',
        method: 'get',
        data
    })
}